package edu.neu.agv_backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("agv_task")
public class AgvTask {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String taskCode;
    private String taskName;
    private String startPos;
    private String taskTrip;
    private String creator;
    private String executor;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date execTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String taskStatus;
    private Integer round;
    private Boolean uploaded;
    private String remark;
    private Long cloudTaskId;
    private Boolean deleteFlag;
} 